/*
 * Pagos_Viewfi.java
 *
 * Created on 22 de mayo de 2008, 2:41
 */
package propres;

import java.util.*;
import java.awt.Color;

/**
 *
 * @author  Administrador
 */
public class Pagos_Viewfi extends javax.swing.JPanel {

    /** Creates new form Pagos_Viewfi */
    public Pagos_Viewfi(CtrlVistaCliente CVC) {
        initComponents();
        jTextField2.setEditable(false);
        jTextField2.setBackground(Color.lightGray);
        jTextField3.setEditable(false);
        jTextField3.setBackground(Color.lightGray);
        jTextField4.setEditable(false);
        jTextField4.setBackground(Color.lightGray);
        jTextField5.setEditable(false);
        jTextField5.setBackground(Color.lightGray);
        jTextField6.setEditable(false);
        jTextField6.setBackground(Color.lightGray);
        jTextField7.setEditable(false);
        jTextField7.setBackground(Color.lightGray);
        jComboBox2.setEnabled(false);
        CVc = CVC;
        CVPagos = new CtrlVistaPagos(CVc);
        try{
        jTextField1.setText(Integer.toString(CVc.Get_Ctrl().consultar_dni())); 
        }
        catch(Exception e){System.out.println(e.getMessage()); }
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jFrame1 = new javax.swing.JFrame();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jTextField1 = new javax.swing.JTextField();
        jTextField2 = new javax.swing.JTextField();
        jTextField3 = new javax.swing.JTextField();
        jTextField4 = new javax.swing.JTextField();
        jTextField5 = new javax.swing.JTextField();
        jTextField6 = new javax.swing.JTextField();
        jTextField7 = new javax.swing.JTextField();
        jComboBox1 = new javax.swing.JComboBox();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTextArea1 = new javax.swing.JTextArea();
        jComboBox2 = new javax.swing.JComboBox();
        jButton1 = new javax.swing.JButton();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();

        jFrame1.setName("jFrame1"); // NOI18N

        javax.swing.GroupLayout jFrame1Layout = new javax.swing.GroupLayout(jFrame1.getContentPane());
        jFrame1.getContentPane().setLayout(jFrame1Layout);
        jFrame1Layout.setHorizontalGroup(
            jFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 400, Short.MAX_VALUE)
        );
        jFrame1Layout.setVerticalGroup(
            jFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 300, Short.MAX_VALUE)
        );

        setName("Form"); // NOI18N

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(propres.PropresApp.class).getContext().getResourceMap(Pagos_Viewfi.class);
        jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N
        jLabel1.setName("jLabel1"); // NOI18N

        jLabel2.setText(resourceMap.getString("jLabel2.text")); // NOI18N
        jLabel2.setName("jLabel2"); // NOI18N

        jLabel3.setText(resourceMap.getString("jLabel3.text")); // NOI18N
        jLabel3.setName("jLabel3"); // NOI18N

        jLabel4.setText(resourceMap.getString("jLabel4.text")); // NOI18N
        jLabel4.setName("jLabel4"); // NOI18N

        jTextField1.setText(resourceMap.getString("jTextField1.text")); // NOI18N
        jTextField1.setName("jTextField1"); // NOI18N

        jTextField2.setText(resourceMap.getString("jTextField2.text")); // NOI18N
        jTextField2.setName("jTextField2"); // NOI18N

        jTextField3.setText(resourceMap.getString("jTextField3.text")); // NOI18N
        jTextField3.setName("jTextField3"); // NOI18N

        jTextField4.setText(resourceMap.getString("jTextField4.text")); // NOI18N
        jTextField4.setName("jTextField4"); // NOI18N

        jTextField5.setText(resourceMap.getString("jTextField5.text")); // NOI18N
        jTextField5.setName("jTextField5"); // NOI18N

        jTextField6.setText(resourceMap.getString("jTextField6.text")); // NOI18N
        jTextField6.setName("jTextField6"); // NOI18N

        jTextField7.setText(resourceMap.getString("jTextField7.text")); // NOI18N
        jTextField7.setName("jTextField7"); // NOI18N

        jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Pagar todo", "Pagar dia", "Pagar comida", "Pagar fechas", "Consultar todos", "Consultar dias", "Consultar dia" }));
        jComboBox1.setName("jComboBox1"); // NOI18N
        jComboBox1.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jComboBox1ItemStateChanged(evt);
            }
        });

        jScrollPane1.setName("jScrollPane1"); // NOI18N

        jTextArea1.setColumns(20);
        jTextArea1.setRows(5);
        jTextArea1.setName("jTextArea1"); // NOI18N
        jScrollPane1.setViewportView(jTextArea1);

        jComboBox2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Desayuno", "Almuerzo", "Merienda", "Cena", "Resopo" }));
        jComboBox2.setName("jComboBox2"); // NOI18N

        jButton1.setText(resourceMap.getString("jButton1.text")); // NOI18N
        jButton1.setName("jButton1"); // NOI18N
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        jLabel5.setText(resourceMap.getString("jLabel5.text")); // NOI18N
        jLabel5.setName("jLabel5"); // NOI18N

        jLabel6.setText(resourceMap.getString("jLabel6.text")); // NOI18N
        jLabel6.setName("jLabel6"); // NOI18N

        jLabel7.setText(resourceMap.getString("jLabel7.text")); // NOI18N
        jLabel7.setName("jLabel7"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(43, 43, 43)
                        .addComponent(jLabel1)
                        .addGap(32, 32, 32)
                        .addComponent(jTextField1, javax.swing.GroupLayout.DEFAULT_SIZE, 128, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(23, 23, 23)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel4)
                            .addComponent(jLabel3)
                            .addComponent(jLabel2))
                        .addGap(32, 32, 32)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(jTextField5)
                                    .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(jTextField6)
                                    .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(jTextField7)
                                    .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(jLabel5)
                                .addGap(18, 18, 18)
                                .addComponent(jLabel6)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jLabel7)))))
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(88, 88, 88)
                        .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 84, Short.MAX_VALUE)
                        .addComponent(jButton1)
                        .addGap(45, 45, 45))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(67, 67, 67)
                        .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 285, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(25, 25, 25)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel1)
                            .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(9, 9, 9)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel5)
                            .addComponent(jLabel6)
                            .addComponent(jLabel7))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel2)
                            .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel3)
                            .addComponent(jTextField7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextField6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(32, 32, 32)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel4)
                            .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 199, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(27, 27, 27)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jButton1))))
                .addContainerGap(26, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        // TODO add your handling code here:
        try {
            int f1 = 0, f2 = 0, f3 = 0, f4 = 0, f5 = 0, f6 = 0;
            String com, DNI, action;
            String[] T = new String[7];
            List lista;
            int i;
            String error = " ";
            List<Date> ldates = new ArrayList();
            List<String> lcomidas = new ArrayList();

            jTextArea1.setText("");
            /*
            Dialog_error X = new Dialog_error(jFrame1,true);
            X.setLocationRelativeTo(null);
            X.setVisible(true);
             */

            T[0] = jTextField1.getText(); // Obtengo los valores de los cuadros
            T[1] = jTextField2.getText();
            T[2] = jTextField3.getText();
            T[3] = jTextField4.getText();
            T[4] = jTextField5.getText();
            T[5] = jTextField6.getText();
            T[6] = jTextField7.getText();

           

            com = (String) jComboBox2.getSelectedItem();
            action = (String) jComboBox1.getSelectedItem(); // Obtengo el Combobox

           

            //validar datos
            if ((action.equals("Pagar comida")) || (action.equals("Pagar dia")) || (action.equals("Consultar dia"))) {
                if((!CVPagos.isNumeric(T[1]) || !CVPagos.isNumeric(T[2]) || !CVPagos.isNumeric(T[3]))) error="Fecha no valida";
                else{
                f1 = Integer.parseInt(T[1]);
                f2 = Integer.parseInt(T[2]);
                f3 = Integer.parseInt(T[3]);}

            } else if ((action.equals("Pagar fechas")) || (action.equals("Consultar dias"))) {

                if((!CVPagos.isNumeric(T[1]) || !CVPagos.isNumeric(T[2]) || !CVPagos.isNumeric(T[3]) || !CVPagos.isNumeric(T[4]) || !CVPagos.isNumeric(T[5]) || !CVPagos.isNumeric(T[6])))error="Fecha no valida";
                else{
                    f1 = Integer.parseInt(T[1]);
                f2 = Integer.parseInt(T[2]);
                f3 = Integer.parseInt(T[3]);
                f4 = Integer.parseInt(T[4]);
                f5 = Integer.parseInt(T[5]);
                f6 = Integer.parseInt(T[6]);
                }
            }
            
            if (!CVPagos.isNumeric(T[0])) {
                error = "DNI no valido";
            } else if (!CVc.existe_cliente(T[0])) {
                error = "El cliente no existe";
            } else if ((action.equals("Pagar comida") || action.equals("Pagar dia") || action.equals("Consultar dia"))&& (!(f1 > 0 && f1 < 32) || !(f2 > 0 && f2 < 13))) {
                error = "Fecha no valida";
            } else if ((action.equals("Pagar dias") || action.equals("Pagar fechas") || action.equals("Consultar dias")) && (!(f4 > 0 && f4 < 32) || !(f5 > 0 && f5 < 13)) && (!(f1 > 0 && f1 < 32) || !(f2 > 0 && f2 < 13) || !(f3 > 2007 && f3 < 3000))) {
                error = "Fecha no valida";
            }
           
            if (!error.equals(" ")) {
               
                throw new Exception(error);
            } else if (action.equals("Pagar todo") || action.equals("Pagar fechas") || action.equals("Pagar dia") || action.equals("Pagar comida")) {

                error = CVPagos.gestion_evento(action, T, com, ldates, lcomidas);

                if (!error.equals("ok") || action.equals("Pagar comida")) {
                    jTextArea1.setText(error + '\n');
                } else {
                    if (action.equals("Pagar todo") || action.equals("Pagar fechas")) {
                        if (ldates.isEmpty()) {
                            jTextArea1.setText("Todo pagado" + '\n');
                        } else {

                            for (i = 0; i < ldates.size(); i++) {
                                Date d1=new Date();
                                
                                String comida= lcomidas.get(i);
                                d1=ldates.get(i);
                                while((i+1)<ldates.size()&&(d1.equals((Date)ldates.get(i+1)))&&comida.equals(lcomidas.get(i+1))){i++;}
                                jTextArea1.append("Dia: "+d1.getDate() + " " +"Mes: "+d1.getMonth()+" Año: "+d1.getYear()+ " " + comida + '\n');
                            }
                        }
                    } else if (action.equals("Pagar dia")) {
                        if (ldates.isEmpty()) {
                            
                            jTextArea1.setText("Dia ya pagado" + '\n');
                        } else {
                            for (i = 0; i < lcomidas.size(); i++) {
                            
                                
                                String comida= lcomidas.get(i);
                                
                                while((i+1)<lcomidas.size()&&comida.equals(lcomidas.get(i+1))){i++;}
                                jTextArea1.append(comida + '\n');
                            }
                        }
                    } else if (action.equals("Pagar comida fechas")) {
                        if (ldates.isEmpty()) {
                            jTextArea1.setText("Comidas ya pagadas" + '\n');
                        } else {
                            for (i = 0; i < ldates.size(); i++) {
                                jTextArea1.append("Dia: "+ldates.get(i).getDate() + " " +"Mes: "+ldates.get(i).getMonth()+" Año: "+ldates.get(i).getYear()+'\n');
                            }
                        }
                    }
                }
            
            } else {
                
                lista = CVPagos.gestion_consulta(action, T, com);
                
                i = 0;

                if (lista.isEmpty()) {
                    jTextArea1.setText("Todo pagado" + '\n');
                } else {
                  
                    if (action.equals("Consultar dia")) {

                        for (i = 0; i < lista.size(); i++) {
                            String s=(String) lista.get(i);
                            if(s.equals("0"))s="Desayuno";
                            else if(s.equals("1"))s="Almuerzo";
                            else if(s.equals("2"))s="Merienda";
                            else if(s.equals("3"))s="Cena";
                            else if(s.equals("4"))s="Resopon";
                            
                            jTextArea1.setText(jTextArea1.getText() +s+'\n');
                        }

                    } else {
                  
                        
                        for (i = 0; i < lista.size(); i++) {
                            Date d1 = (Date) lista.get(i);
                            int num_c=1;
          
                            while(i+1<lista.size()&&d1.equals((Date)lista.get(i+1)))
                            {
                             
                                num_c++;
                                i++;
                            }
                            
                            jTextArea1.append("Dia: "+d1.getDate() + " " +"Mes: "+d1.getMonth()+" Año: "+d1.getYear()+" Numero comidas: "+num_c+'\n');

                        }
                    }
                }
            }
        } catch (Exception e) {
            System.out.println(e.getMessage());
            Dialog_error X = new Dialog_error(jFrame1, true, e.getMessage());
            X.setLocationRelativeTo(null);
            X.setVisible(true);
        }
    }//GEN-LAST:event_jButton1ActionPerformed

    private void jComboBox1ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jComboBox1ItemStateChanged
        // TODO add your handling code here:
        if (evt.getItem().equals("Pagar todo") || evt.getItem().equals("Consultar todos")) {

            jTextField2.setEditable(false);
            jTextField2.setBackground(Color.lightGray);
            jTextField3.setEditable(false);
            jTextField3.setBackground(Color.lightGray);
            jTextField4.setEditable(false);
            jTextField4.setBackground(Color.lightGray);
            jTextField5.setEditable(false);
            jTextField5.setBackground(Color.lightGray);
            jTextField6.setEditable(false);
            jTextField6.setBackground(Color.lightGray);
            jTextField7.setEditable(false);
            jTextField7.setBackground(Color.lightGray);
            jComboBox2.setEnabled(false);
            
        } else if (evt.getItem().equals("Consultar dia") || (evt.getItem().equals("Pagar dia"))) {

            jTextField2.setEditable(true);
            jTextField2.setBackground(Color.white);
            jTextField3.setEditable(true);
            jTextField3.setBackground(Color.white);
            jTextField4.setEditable(true);
            jTextField4.setBackground(Color.white);
            jTextField5.setEditable(false);
            jTextField5.setBackground(Color.LIGHT_GRAY);
            jTextField6.setEditable(false);
            jTextField6.setBackground(Color.LIGHT_GRAY);
            jTextField7.setEditable(false);
            jTextField7.setBackground(Color.LIGHT_GRAY);
            jComboBox2.setEnabled(false);
            
        } else if (evt.getItem().equals("Consultar dias") || (evt.getItem().equals("Pagar fechas"))) {

            jTextField2.setEditable(true);
            jTextField2.setBackground(Color.white);
            jTextField3.setEditable(true);
            jTextField3.setBackground(Color.white);
            jTextField4.setEditable(true);
            jTextField4.setBackground(Color.white);
            jTextField5.setEditable(true);
            jTextField5.setBackground(Color.white);
            jTextField6.setEditable(true);
            jTextField6.setBackground(Color.white);
            jTextField7.setEditable(true);
            jTextField7.setBackground(Color.white);
            jComboBox2.setEnabled(false);
            
        } else if (evt.getItem().equals("Pagar comida")) {

            jTextField2.setEditable(true);
            jTextField2.setBackground(Color.white);
            jTextField3.setEditable(true);
            jTextField3.setBackground(Color.white);
            jTextField4.setEditable(true);
            jTextField4.setBackground(Color.white);
            jTextField5.setEditable(false);
            jTextField5.setBackground(Color.LIGHT_GRAY);
            jTextField6.setEditable(false);
            jTextField6.setBackground(Color.LIGHT_GRAY);
            jTextField7.setEditable(false);
            jTextField7.setBackground(Color.LIGHT_GRAY);
            jComboBox2.setEnabled(true);
            
        }
    }//GEN-LAST:event_jComboBox1ItemStateChanged
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JComboBox jComboBox1;
    private javax.swing.JComboBox jComboBox2;
    private javax.swing.JFrame jFrame1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTextArea jTextArea1;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField2;
    private javax.swing.JTextField jTextField3;
    private javax.swing.JTextField jTextField4;
    private javax.swing.JTextField jTextField5;
    private javax.swing.JTextField jTextField6;
    private javax.swing.JTextField jTextField7;
    // End of variables declaration//GEN-END:variables
    private CtrlVistaPagos CVPagos;
    private CtrlVistaCliente CVc;
}
